package me.youline.dataServer.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import me.youline.dataServer.entity.UserToken;

@Component
public class UserTokenLoadCommand {
	
	@Autowired
	private UserTokenJdbcDAOImpl jdbcDAOImpl;

	public UserToken load(String key){
		return jdbcDAOImpl.getUserTokenByTokenStr(key);
	}
}
